package com.cat.strategy;

/**
 * @author cat
 * @version 2025/5/27 09:34
 * @description 销售员类
 * @since JDK17
 */

public class Salesman {
    private Strategy strategy;

    public Salesman(Strategy strategy) {
        this.strategy = strategy;
    }

    public void show() {
        strategy.show();
    }
}
